﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Camc.Quality.Migrations
{
    public partial class _20210527_add_form : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "FourthPhotoNo",
                table: "MultiMediaEntities",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "FourthPhotoNo_DisplayName",
                table: "MultiMediaEntities",
                nullable: true);

            migrationBuilder.AddColumn<bool>(
                name: "FourthPhotoNo_Enable",
                table: "MultiMediaEntities",
                nullable: false,
                defaultValue: false);

            migrationBuilder.AddColumn<int>(
                name: "FourthPhotoNo_Property",
                table: "MultiMediaEntities",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<bool>(
                name: "FourthPhotoNo_Show",
                table: "MultiMediaEntities",
                nullable: false,
                defaultValue: false);

            migrationBuilder.AddColumn<string>(
                name: "SecondPhotoNo",
                table: "MultiMediaEntities",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "SecondPhotoNo_DisplayName",
                table: "MultiMediaEntities",
                nullable: true);

            migrationBuilder.AddColumn<bool>(
                name: "SecondPhotoNo_Enable",
                table: "MultiMediaEntities",
                nullable: false,
                defaultValue: false);

            migrationBuilder.AddColumn<int>(
                name: "SecondPhotoNo_Property",
                table: "MultiMediaEntities",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<bool>(
                name: "SecondPhotoNo_Show",
                table: "MultiMediaEntities",
                nullable: false,
                defaultValue: false);

            migrationBuilder.AddColumn<string>(
                name: "ThirdPhotoNo",
                table: "MultiMediaEntities",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "ThirdPhotoNo_DisplayName",
                table: "MultiMediaEntities",
                nullable: true);

            migrationBuilder.AddColumn<bool>(
                name: "ThirdPhotoNo_Enable",
                table: "MultiMediaEntities",
                nullable: false,
                defaultValue: false);

            migrationBuilder.AddColumn<int>(
                name: "ThirdPhotoNo_Property",
                table: "MultiMediaEntities",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<bool>(
                name: "ThirdPhotoNo_Show",
                table: "MultiMediaEntities",
                nullable: false,
                defaultValue: false);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "FourthPhotoNo",
                table: "MultiMediaEntities");

            migrationBuilder.DropColumn(
                name: "FourthPhotoNo_DisplayName",
                table: "MultiMediaEntities");

            migrationBuilder.DropColumn(
                name: "FourthPhotoNo_Enable",
                table: "MultiMediaEntities");

            migrationBuilder.DropColumn(
                name: "FourthPhotoNo_Property",
                table: "MultiMediaEntities");

            migrationBuilder.DropColumn(
                name: "FourthPhotoNo_Show",
                table: "MultiMediaEntities");

            migrationBuilder.DropColumn(
                name: "SecondPhotoNo",
                table: "MultiMediaEntities");

            migrationBuilder.DropColumn(
                name: "SecondPhotoNo_DisplayName",
                table: "MultiMediaEntities");

            migrationBuilder.DropColumn(
                name: "SecondPhotoNo_Enable",
                table: "MultiMediaEntities");

            migrationBuilder.DropColumn(
                name: "SecondPhotoNo_Property",
                table: "MultiMediaEntities");

            migrationBuilder.DropColumn(
                name: "SecondPhotoNo_Show",
                table: "MultiMediaEntities");

            migrationBuilder.DropColumn(
                name: "ThirdPhotoNo",
                table: "MultiMediaEntities");

            migrationBuilder.DropColumn(
                name: "ThirdPhotoNo_DisplayName",
                table: "MultiMediaEntities");

            migrationBuilder.DropColumn(
                name: "ThirdPhotoNo_Enable",
                table: "MultiMediaEntities");

            migrationBuilder.DropColumn(
                name: "ThirdPhotoNo_Property",
                table: "MultiMediaEntities");

            migrationBuilder.DropColumn(
                name: "ThirdPhotoNo_Show",
                table: "MultiMediaEntities");
        }
    }
}
